package com.kkwrite.regimen.provider.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.kkwrite.regimen.provider.domain.RegShopIncomeDO;

/**
 *
 * @author jinying
 * 
 */
public interface RegShopIncomeRepository extends JpaRepository<RegShopIncomeDO, Long>, JpaSpecificationExecutor<RegShopIncomeDO> {

	/**
	 * 根据shopId查询店铺所有收益记录
	 * @param shopId 店铺ID
	 * @return 店铺所有收益记录
	 */
	List<RegShopIncomeDO> findAllByShopId(Long shopId);
}
